package com.leslie.app.service;

import com.leslie.app.dto.ArticleDto;
import com.leslie.app.entity.Article;
import com.leslie.app.mapper.ArticleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ArticleService {
    void add(Article article);

    ArticleDto getArticleById(int id);

    List<Article> getArticleList();
}
